package cn.kgc.ssm.web.mapper;

import cn.kgc.ssm.web.entity.Active;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 课工场
 * @date 2024/8/5
 * @description
 */
public interface ActiveMapper {

    List<Active> selectActiveList(Integer limit);

    List<Active> selectActivePage(String publisher);

    void addActive(Active active);

    void updateActive(Active active);

    void deleteActive(@Param("ids") List<Integer> ids);

    Long activePanel();
}
